/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.imenu.entity;

/**
 *
 * @author Yunzi
 */
public enum OrderStatus {
    NEW(1, "待接受"), ACCEPTED(2, "待付款"), DONE(3, "已付款");
    private final Integer value;
    private final String desc;
    OrderStatus(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }
    
    public String getDesc(){
        return desc;
    }
}
